Skip to main content

FlowEnd

Represents the final step in a workflow, managing flow status updates and web notifications.

Properties

NameDescription
CaptionThe caption dictionary representing localized captions for the flow object.
UpdateFlowStatusAsFinishedIndicates whether the flow status should be updated as finished upon completion.
KeyA unique identifier for the workflow step.
NameName for the workflow step.
SetFlowStatusAsDeletedDetermines whether the flow status should be set as deleted.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
WebNotificationOptionsDefines options for sending web notifications upon workflow completion.
TypeCodeThe type code associated with the flow object.

Constructors

NameDescription
FlowEnd(name, workflowData, workflowCodeInstance)Constructor for the FlowEnd class. Initializes a new instance of the FlowEnd class.
FlowEnd(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowEnd class.

Methods

NameDescription
SendFinishWebNotification(userInfo, requestItem)Sends a web notification to notify the completion of the workflow.
Initialize()Initializes the flow end step with necessary configurations.

Events

NameDescription
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.